﻿using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Resources;
using System.Text;
using System.Threading.Tasks;

namespace Rogan.Utility.Resource
{
    public class TextResource
    {
        private static ResourceManager _resourceMan;
        private static CultureInfo _resourceCulture;

        internal static ResourceManager ResourceManager
        {
            get
            {
                if (ReferenceEquals(_resourceMan, null))
                {
                    _resourceMan = new ResourceManager("Rogan.Utility.Resource.TextResource",
                        typeof (TextResource).Assembly);
                }
                return _resourceMan;
            }
        }

        internal static CultureInfo Culture
        {
            get
            {
                return _resourceCulture;
            }
            set
            {
                _resourceCulture = value;
            }
        }

        internal static string ArrayCannotBeEmpty
        {
            get
            {
                return ResourceManager.GetString("ArrayCannotBeEmpty", _resourceCulture);
            }
        }

        internal static string CannotBeNull
        {
            get
            {
                return ResourceManager.GetString("CannotBeNull", _resourceCulture);
            }
        }

        internal static string CannotBeNullOrEmpty
        {
            get
            {
                return ResourceManager.GetString("CannotBeNullOrEmpty", _resourceCulture);
            }
        }

        internal static string NotSupportThisType
        {
            get
            {
                return ResourceManager.GetString("NotSupportThisType", _resourceCulture);
            }
        }
    }
}
